IMContext.addOnRetrieveSurrounding

The ::retrieve-surrounding signal is emitted when the input method requires the context surrounding the cursor.

The callback should set the input method surrounding context by calling the [method@Gtk.IMContext.set_surrounding] method.

class IMContext
addOnRetrieveSurrounding
(
bool delegate dlg
,)

Return Value

Type: gulong

%TRUE if the signal was handled.

Meta